package com.tbm.impl.controller;

import com.tbm.base.controller.BaseController;
import com.tbm.common.util.JurisdictionUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by Administrator on 2017/9/19.
 */
@Controller
@RequestMapping("/auxiliary")
public class AuxiliaryController extends BaseController {

    @RequestMapping(value = "/auxiliary-develop")
    public ModelAndView auxiliaryDevelop(){
        ModelAndView modelAndView = this.getModelAndView();
        String viewName = "login";
        if(JurisdictionUtil.isValid()){
            viewName = "auxiliary/auxiliary-develop";
        }
        modelAndView.setViewName(viewName);
        return modelAndView;
    }
}
